package cn.myschool.service;

import cn.myschool.dao.AdminDao;

/**
 * @author oldliu
 * @since 1.0
 */
public class AdminService {
    private AdminDao dao;

    public AdminDao getDao() {
        return dao;
    }

    public void setDao(AdminDao dao) {
        this.dao = dao;
    }

    public boolean login(String u, String p){
        return dao.login(u,p);
    }
}
